const semver = require('semver')
const { engines } = require('./package')
const version = engines.node
if (!semver.satisfies(process.version, version)) {
    console.error(`项目所需node版本：${version}, 当前版本: ${process.version}.`)
    process.exit(1)
}
